-- rebels
-- created by cheny3
-- 地牢格子：受伤的反叛军

return {
    restoreGrid = function(grid, info)
        -- 还原信息
        if type(info["class_id"]) == "number" then
            grid.class_id = info["class_id"];
        end
    end,

    collectContext = function(grid)
        -- 收集信息
        return {["class_id"] = grid.class_id};
    end,
};
